import urlparse

parsedTuple = urlparse.urlparse("http://147.128.112.103")
print parsedTuple;
unparsedURL = urlparse.urlunparse((URLscheme, URLlocation, URLpath, '', '', ''))
print unparsedURL;
newURL = urlparse.urljoin(unparsedURL,"/module-urllib2/request-objects.html")
